<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" type="text/css" href="assets/css/print.css" />
    <script src="assets/lib/jquery/jquery.min.js"></script>
    <title>Document</title>
</head>

<body>
    <div id="printArea">
        <table class="form-table">
            <tbody>
                <tr>
                    <th>姓名</th>
                    <td>{{person.name}}</td>
                    <td rowspan="4" class="imgTd">
                        <img src="assets/photo/photo.png" />
                    </td>
                </tr>
                <tr>
                    <th>性别</th>
                    <td>{{person.name}}</td>
                </tr>
                <tr>
                    <th>电话</th>
                    <td>{{person.phone}}</td>
                </tr>
                <tr>
                    <th>职务</th>
                    <td>{{person.job}}</td>
                </tr>
                <tr>
                    <th>单位</th>
                    <td colspan="2">{{person.workUnit}}</td>
                </tr>
                <tr>
                    <th>地址</th>
                    <td colspan="2">{{person.address}}</td>
                </tr>
                <tr>
                    <th>简历</th>
                    <td class="resume" colspan="2">{{person.resume}}</td>
                </tr>
            </tbody>
        </table>
    </div>
    <script>
        $(function(){
            var w=$(document).height();
            w=w-288;
            $(".resume").height(w);
        });
    </script>
</body>

</html>